package pers.xiaojun.boot.module.system.controller.captcha.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Builder;
import lombok.Data;

/**
 * 验证码响应对象
 *
 * @author xiaojun
 * @since 2025-10-06
 */
@Schema(description = "验证码响应实体-VO")
@Data
@Builder
public class CaptchaRespVO {

    @Schema(description = "验证码Key", requiredMode = Schema.RequiredMode.REQUIRED, example = "b1b0b9681f864ac4902d1ba8d898367c")
    private String captchaKey;

    @Schema(description = "验证码图片Base64", requiredMode = Schema.RequiredMode.REQUIRED, example = "...")
    private String captchaBase64;

    @Schema(description = "过期时间（单位：秒）", requiredMode = Schema.RequiredMode.REQUIRED, example = "1761357139")
    private Long expireTime;

}
